<template>
  <div>
    <table class="table1 owntable mb20 tableLayout" border="0" cellspacing="0" cellpadding="1" style="width: 100%;">
      <tr>
        <td width="150">设备管理编号</td>
        <td>{{ item.number }}</td>
        <td width="150">管理部门</td>
        <td>{{ item.manageDeptName }}</td>
      </tr>
      <tr>
        <td>负责人</td>
        <td>{{ item.manageUserName }}</td>
        <td>编制部门</td>
        <td>{{ item.createDeptName }}</td>
      </tr>
    </table>

    <div class="f14 mb20">设备信息如下：</div>
    <table class="table1 owntable tableLayout mb20" border="0" cellspacing="0" cellpadding="1" style="width: 100%;" v-for="(v, k) in item.deviceList" :key="index">
      <tr>
        <td width="150">设备名称</td>
        <td>{{ v.name }}</td>
        <td width="150">设备型号</td>
        <td>{{ v.model }}</td>
      </tr>
      <tr>
        <td>设备类别</td>
        <td>{{ shebeiclassList[v.deviceType].label }}</td>
        <td>设备编号</td>
        <td>{{ v.deviceNumber }}</td>
      </tr>
      <tr>
        <td>校准（检定）状态</td>
        <td colspan="3">{{ calibrationStatusList[v.calibrationStatus].label }}</td>
      </tr>
      <tr v-if="v.calibrationStatus == 0">
        <td>校准（检定）日期</td>
        <td>{{ v.calibrationDate }}</td>
        <td>校准（检定）有效期</td>
        <td>{{ v.validPeriod }}年</td>
      </tr>
    </table>
  </div>
</template>

<script>
export default {
  props: {
    item: {}
  }
};
</script>

<style></style>
